package com.base.component.ai.agent.core.prompt;

import com.base.component.ai.platform.core.bo.common.BaseCompletionsBO;
import com.base.core.head.dto.ai.MessageBaseDTO;

public interface PromptLogHandler<B extends BaseCompletionsBO,M extends MessageBaseDTO> {
	
	boolean support(Class<?> cls);

	/**
	 * 需要考虑异步逻辑防止主线程阻塞
	 * @param chatCompletions
	 * @param responseContent
	 */
	void saveLog(B chatCompletions,String responseContent);
	
}
